package com.shelpe.services.sinbad.repository.mongo;

import java.util.Date;
import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.shelpe.services.sinbad.entity.mongo.BusinessCostRtr;

public interface BusinessCostRtrRepository extends CrudRepository<BusinessCostRtr, String> {

	BusinessCostRtr findByUserIDAndTypeAndDateGreaterThan(long userID, String type, Date date);

	List<BusinessCostRtr> findByUserIDAndLogDate(long userID, Date date);
}
